import request from '@/utils/request'

// 查询 校本教研列表
export function listJySchoolResearch(query) {
  return request({
    url: '/research/jySchoolResearch/list',
    method: 'get',
    params: query
  })
}

// 查询 校本教研详细
export function getJySchoolResearch(id) {
  return request({
    url: '/research/jySchoolResearch/' + id,
    method: 'get'
  })
}

// 新增 校本教研
export function addJySchoolResearch(data) {
  return request({
    url: '/research/jySchoolResearch',
    method: 'post',
    data: data
  })
}

// 修改 校本教研
export function updateJySchoolResearch(data) {
  return request({
    url: '/research/jySchoolResearch',
    method: 'put',
    data: data
  })
}

// 删除 校本教研
export function delJySchoolResearch(id) {
  return request({
    url: '/research/jySchoolResearch/' + id,
    method: 'delete'
  })
}
